package com.zhangh.summer.admin.biz.app;

import com.zhangh.summer.admin.model.bo.DataBO;
import com.zhangh.summer.admin.model.bo.NoValidatorBO;
import com.zhangh.summer.admin.model.po.AdAppPO;
import com.zhangh.summer.admin.model.po.AdRolePO;
import com.zhangh.summer.admin.support.ds.common.pager.DataPager;
import com.zhangh.summer.admin.support.ds.common.pager.Pager;

import java.util.List;

/**
 * @description: TODO
 * @author: zhanghui
 * @create: 2021-10-21 23:21
 **/
public interface AppBiz {

    public DataPager<AdAppPO> getAppDataPager(DataBO query, Pager pager);

    public AdAppPO getAdAppPO(Long id);

    public long saveApp(AdAppPO adAppPO);

    public int updateApp(AdAppPO adAppPO);

    public int deleteApp(long id);

    public boolean validateAppCode(NoValidatorBO noValidatorBO);

    public List<AdAppPO> getAdAppPOList(Integer frame);
}
